package com.ruoyi.civil.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 养护计划方案对象 civil_enginneering_all_maintenance
 * 
 * @author ruoyi
 * @date 2022-05-11
 */
public class CivilEnginneeringAllMaintenance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录表编码 */
    private Long allMaintenanceId;

    /** 隧道编码 */
    @Excel(name = "隧道编码")
    private Long tunnelId;

    /** 隧道名称 */
    @Excel(name = "隧道名称")
    private String tunnelName;

    /** 隧道总体技术状况评定类别 */
    @Excel(name = "隧道总体技术状况评定类别")
    private String totalGrade;

    /** 养护内容 */
    @Excel(name = "养护内容")
    private String maintenanceContent;

    /** 养护日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "养护日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date maintenanceDate;

    /** 养护频率 */
    @Excel(name = "养护频率")
    private String maintenanceFrequency;

    /** 养护方案 */
    @Excel(name = "养护方案")
    private String maintenanceScheme;

    /** 养护人员 */
    @Excel(name = "养护人员")
    private String maintenancePerson;

    /** 养护状态 */
    @Excel(name = "养护状态")
    private String maintenanceCondition;

    public void setAllMaintenanceId(Long allMaintenanceId) 
    {
        this.allMaintenanceId = allMaintenanceId;
    }

    public Long getAllMaintenanceId() 
    {
        return allMaintenanceId;
    }
    public void setTunnelId(Long tunnelId) 
    {
        this.tunnelId = tunnelId;
    }

    public Long getTunnelId() 
    {
        return tunnelId;
    }
    public void setTunnelName(String tunnelName) 
    {
        this.tunnelName = tunnelName;
    }

    public String getTunnelName() 
    {
        return tunnelName;
    }
    public void setTotalGrade(String totalGrade) 
    {
        this.totalGrade = totalGrade;
    }

    public String getTotalGrade() 
    {
        return totalGrade;
    }
    public void setMaintenanceContent(String maintenanceContent) 
    {
        this.maintenanceContent = maintenanceContent;
    }

    public String getMaintenanceContent() 
    {
        return maintenanceContent;
    }
    public void setMaintenanceDate(Date maintenanceDate) 
    {
        this.maintenanceDate = maintenanceDate;
    }

    public Date getMaintenanceDate() 
    {
        return maintenanceDate;
    }
    public void setMaintenanceFrequency(String maintenanceFrequency) 
    {
        this.maintenanceFrequency = maintenanceFrequency;
    }

    public String getMaintenanceFrequency() 
    {
        return maintenanceFrequency;
    }
    public void setMaintenanceScheme(String maintenanceScheme) 
    {
        this.maintenanceScheme = maintenanceScheme;
    }

    public String getMaintenanceScheme() 
    {
        return maintenanceScheme;
    }
    public void setMaintenancePerson(String maintenancePerson) 
    {
        this.maintenancePerson = maintenancePerson;
    }

    public String getMaintenancePerson() 
    {
        return maintenancePerson;
    }
    public void setMaintenanceCondition(String maintenanceCondition) 
    {
        this.maintenanceCondition = maintenanceCondition;
    }

    public String getMaintenanceCondition() 
    {
        return maintenanceCondition;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("allMaintenanceId", getAllMaintenanceId())
            .append("tunnelId", getTunnelId())
            .append("tunnelName", getTunnelName())
            .append("totalGrade", getTotalGrade())
            .append("maintenanceContent", getMaintenanceContent())
            .append("maintenanceDate", getMaintenanceDate())
            .append("maintenanceFrequency", getMaintenanceFrequency())
            .append("maintenanceScheme", getMaintenanceScheme())
            .append("maintenancePerson", getMaintenancePerson())
            .append("maintenanceCondition", getMaintenanceCondition())
            .toString();
    }
}
